import request from '@/utils/request'

// 查询交班付款明细列表
export function listHandAdvice(query) {
  return request({
    url: '/payfee/HandAdvice/list',
    method: 'get',
    params: query
  })
}

// 查询交班付款明细详细
export function getHandAdvice(id) {
  return request({
    url: '/payfee/HandAdvice/' + id,
    method: 'get'
  })
}

// 新增交班付款明细
export function addHandAdvice(data) {
  return request({
    url: '/payfee/HandAdvice',
    method: 'post',
    data: data
  })
}

// 修改交班付款明细
export function updateHandAdvice(data) {
  return request({
    url: '/payfee/HandAdvice',
    method: 'put',
    data: data
  })
}

// 删除交班付款明细
export function delHandAdvice(id) {
  return request({
    url: '/payfee/HandAdvice/' + id,
    method: 'delete'
  })
}

// 导出交班付款明细
export function exportHandAdvice(query) {
  return request({
    url: '/payfee/HandAdvice/export',
    method: 'get',
    params: query
  })
}